package u.can.i.up.aop;

import java.lang.reflect.Method;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.aop.MethodBeforeAdvice;

public class BeforeAdvice implements MethodBeforeAdvice{
	Logger logger = LogManager.getLogger();
	@Override
	public void before(Method method, Object[] args, Object target) throws Throwable {
		logger.info("这是BeforeAdvice类的before方法.");
	}

}
